﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NodeRecognition
{
    public class MainNodeRecognition
    {

        public List<RecognitionNode> Node { get; set; }


        public MainNodeRecognition()
        {
            Node = new List<RecognitionNode>();
        }

        public int Recognition(double[] data, out double ver)
        {
            var v = Node[0].Recognition(data, 1);
            ver = v[1];
            return Convert.ToInt32(v[0]);
        }
   
    }
}
